package com.witdata.common.service.community;

import com.witdata.common.domain.dto.CommunityMemberDto;

public interface MemberService {

    long getState(Long id);

    boolean checkWhetherToJoin(Long id);

    void addMember(Long communityId, Long memberId);

    void joinCommunity(CommunityMemberDto communityMemberDto);

    void leaveCommunity(CommunityMemberDto communityMemberDto);
}
